<%-- 
    Document   : voo
    Created on : 26/04/2012, 13:46:07
    Author     : guardezi
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Cadastro VOO</title>
    </head>
    
    <style type='text/css'>
        body { 
            background-image: url('img1.jpg');
            /*background-repeat: no-repeat;
            backgroubd-position: center;*/
            
        }
        h1{
            color: #FFCC33;
            text-align: center;
        }
    </style>
    
    <body>
        <h1>Cadastro VOO</h1><hr/><hr/><hr/>
        
        
        <form action=" <c:url value="/gravarVoo" />" method="post">
            <table border=1 bgcolor="#FFCC33" align="center">
            <tr>
                <td>Prefixo:</td>
                <td><input required="true" name="v.vooPrefixo" /></td>
            </tr>
            <tr>
                <td>Hora Saida:</td>
                <td><input required="true" name="v.vooHrSaida" /> </td>
            </tr>
            <tr>
                <td>Hora Chegada: </td>
                <td><input required="true" name="v.vooHrChegada" /> </td>
            </tr>
            <tr>
                <td>Valor:</td>
                <td><input required="true" name="v.vooValor"/></td>
            </tr>
            <tr>
                <td>Data: </td>
                <td><input required="true" name="v.vooData"/></td>
            </tr>
            <tr>
                <td>Origem/Destino</td>
                <td><input required="true" name="v.vooDescricao"/> </td>
            </tr>
            <tr>
                <td colspan=2 align="right"><input type="submit" value="Cadastrar" /> </td>
            </tr>
            </table>
        </form>
            <hr/><hr/>
        
            <hr />
        <hr/>
        <a  href="<c:url value="/index"/>">Pagina Inicial</a><br/>
    </body>
</html>
